.history-list {
    height: 100%;
    display: flex;
    flex-direction: column;
    
    &__header {
        padding: 16px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    &__new-btn {
        // 使用 Ant Design 按钮样式，移除自定义样式
    }
    
    &__content {
        flex: 1;
        overflow-y: auto;
        padding: 8px;
    }
    
    &__empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        text-align: center;
        
        .ant-empty {
            margin: 32px 0;
        }
        
        &-tip {
            font-size: 12px;
        }
    }
    
    &__sessions {
        .ant-list-item {
            padding: 0;
            margin-bottom: 4px;
        }
    }
    
    &__session {
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.2s ease;
        
        &:hover {
            background-color: #f5f5f5;
        }
        
        &--active {
            background-color: #e6f4ff;
            
            .history-list__session-title {
                color: #1677ff;
            }
        }
    }
    
    &__session-card {
        background: transparent;
        box-shadow: none;
        width: 100%;
        
        .ant-card-body {
            padding: 12px;
        }
    }
    
    &__session-content {
        width: 100%;
    }
    
    &__session-title {
        display: block;
        margin-bottom: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    &__session-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
        font-size: 12px;
    }
    
    &__session-date {
        &::after {
            content: '•';
            margin-left: 8px;
        }
    }
    
    &__session-count {
        line-height: 1;
    }
    
    &__session-preview {
        font-size: 12px;
        line-height: 1.4;
        margin-top: 4px;
    }
    
    &__delete-btn {
        opacity: 0.5;
        transition: opacity 0.2s ease;
        
        .history-list__session:hover & {
            opacity: 1;
        }
    }
}

// 滚动条样式 - 使用 Ant Design 默认滚动条样式
.history-list__content {
    &::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    
    &::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 3px;
    }
    
    &::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.15);
        border-radius: 3px;
        
        &:hover {
            background: rgba(0, 0, 0, 0.3);
        }
    }
}